<template>
  <div class="page">
    <el-button @click="visible = true">打开</el-button>
    <t-drawer :visible="visible" @close="visible=false"
              title="标题">
      xxxxxxxxxxxxx
    </t-drawer>
  </div>
</template>

<script>
export default {
  name: "componentDemo",
  data() {
    return {
      visible: false
    }
  },
  methods: {}
}
</script>

<style scoped>

</style>